using System.Security.Claims;
using Gateway.Infrastructure.AutoDI;

namespace Gateway.IQuery.Sign;
/// <summary>
/// token 颁发的服务
/// </summary>
public interface ITokenService : IDependency
{
    Task<string> CreateTokenAsync(string userId, string userName, Claim[] customClaims=null);
}